#! /usr/bin/env python
#coding:utf8

import sys
import os


reload(sys)
sys.setdefaultencoding('utf-8')



def search(path):
    for x in os.listdir(path):
        fp = os.path.join(path, x)
        if os.path.isdir(fp):
        	print fp
            search(fp)

if __name__ == '__main__':
	search('.')